projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdbf0fc
)
(make_menu_in_widget): Set mapping delay
author
Richard M. Stallman
<rms@gnu.org>
Mon, 10 Jun 1996 17:31:25 +0000
(17:31 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 10 Jun 1996 17:31:25 +0000
(17:31 +0000)
for cascade buttons to zero.
lwlib/lwlib-Xm.c
patch
|
blob
|
history
diff --git
a/lwlib/lwlib-Xm.c
b/lwlib/lwlib-Xm.c
index 6d1e76f960ed73814ba39062ac5a312945c5534f..57e4b4a2ca5cd9d32c059cc4965f33687f34f543 100644
(file)
--- a/
lwlib/lwlib-Xm.c
+++ b/
lwlib/lwlib-Xm.c
@@
-440,7
+440,10
@@
make_menu_in_widget (instance, widget, val, keep_first_children)
{
menu = XmCreatePulldownMenu (widget, cur->name, NULL, 0);
make_menu_in_widget (instance, menu, cur->contents, 0);
- XtSetArg (al [ac], XmNsubMenuId, menu); ac++;
+ XtSetArg (al [ac], XmNsubMenuId, menu); ac++;
+ /* non-zero values don't work reliably in
+ conjunction with Emacs' event loop */
+ XtSetArg (al [ac], XmNmappingDelay, 0); ac++;
button = XmCreateCascadeButtonGadget (widget, cur->name, al, ac);
xm_update_label (instance, button, cur);